const { path } = require('@vuepress/utils');
import { defineConfig } from 'vite';

export default defineConfig({
  publicDir: path.join(__dirname, 'public'),
  server: {
    open: '/docs/index.html'
  },
  resolve: {
    alias: {
      '~/': `${path.resolve(__dirname, 'docs')}/`,
    }
  }
});
